package com.ld.security.auth.common.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_token")
@ApiModel("令牌")
@Data
public class SysTokenEntity  extends SuperEntity
{

  @ApiModelProperty("账号")
  @SqlKey(SqlCondition.eq)
    private String username;




  @ApiModelProperty("令牌")
  @SqlKey(SqlCondition.eq)
    private String token;




  @ApiModelProperty("令牌类型")
  @SqlKey(SqlCondition.eq)
    private String tokenType;










  @ApiModelProperty("名称")
  @SqlKey(SqlCondition.eq)
    private String label;




  @ApiModelProperty("登录地址")
  @SqlKey(SqlCondition.eq)
    private String loginIp;




  @ApiModelProperty("令牌状态")
  @SqlKey(SqlCondition.eq)
    private String tokenStatus;





        }
